package com.devunion.salon.web.bean;

import com.devunion.salon.persistence.CashInOut;

/**
 * @author Timoshenko Alexander 14.09.2008 : 19:05:40
 */
public class CashInOutBean {
    private String number;
    private String notes;
    private PaymentBean paymentBean;

    public CashInOutBean(CashInOut cashInOut) {
        this.number = cashInOut.getNumber();
        this.notes = cashInOut.getNotes();
        this.paymentBean = new PaymentBean(cashInOut.getPayment());
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public PaymentBean getPaymentBean() {
        return paymentBean;
    }

    public void setPaymentBean(PaymentBean paymentBean) {
        this.paymentBean = paymentBean;
    }
}
